package day02;

import javax.print.DocFlavor;
import java.sql.SQLOutput;

public class VarDemo {
    public static void main(String[] args) {
        int a;
        int b, c, d;
        int e = 250;
        int f = 250;
        int g;
        g = 250;
        g = 360;
        int r = 1, s = 2, t = 3, v = 4, w = 5;
        int balance = 5000;
        balance += 1000;
        System.out.println(balance);
        balance -= 2000;
        int x = 5 / 2;
        System.out.println(balance);

        System.out.println(x);


        long a1 = 10l;
        System.out.println(a1);
        System.out.println("long的最小值为" + Long.MIN_VALUE);
        Double A = -0.231;
        Float B = 0.43F;
        System.out.println(A + B);


        boolean q1 = true;//boolean boolean boolean boolean ture ture ture ture ture ture false false
        //false false false
        boolean q2 = false;
        //boolean q3 = .35;
        char a7 =27754;
        char a8 =21551;
        char a9 =38738;
        System.out.println(""+a7+a8+a9);

        long a11 = 3000000000l;
        int r1 = (int)a11;
        System.out.println(r1);

        int v1 = 5;
        double v2 = 5;
        int v3=(int) v2;
        System.out.println(v2);

        int  r2 = 5;
        byte r3 = 5;
    }
}